package cn.zhz.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class District implements Serializable {

    private Integer id;             //区县编号
    private String name;            //区县名称
    private List<Street> streets = new ArrayList<Street>();

    public District(){}

    public District(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public List<Street> getStreets() {
        return streets;
    }

    public void setStreets(List<Street> streets) {
        this.streets = streets;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
